import QtQuick 2.0

import "../../js/util.js" as Util
Rectangle {
    width: parent.width
    height: m_lineValue

    property alias m_text: m_Text_id.text

    property alias m_inputStr: m_InputEdit_id.m_text
    property alias m_inputEdit: m_InputEdit_id

    AText {
        id: m_Text_id
        anchors {
            verticalCenter: parent.verticalCenter
            left: parent.left
            leftMargin: m_lineValue * Util.leftMarginScale
        }
        font.pointSize: 20
    }

    ALineEdit {
        id: m_InputEdit_id
        color: "transparent"
        anchors {
            verticalCenter: parent.verticalCenter
            right: parent.right
            rightMargin: m_lineValue * Util.rightMarginScale
        }
        m_inputEdit.font.pointSize: 16
        m_inputEdit.color: "#666666"
        width: parent.width / 2
        m_inputEdit.horizontalAlignment: TextInput.AlignRight
        m_inputEdit.clip: true
//        clip: true
    }

//    MouseArea {
//        anchors.fill: parent
//        onClicked: m_InputEdit_id.focus = true
//    }
}

